<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="../../org/angular.min.js"></script>
</head>

<body ng-app="app" ng-controller="ctrl">
    <div>
        网站开启：
        <input type="radio" ng-value="1" name="shut" ng-model="status"> 开启
        <input type="radio" ng-value="0" name="shut" ng-model="status"> 关闭
    </div>
    <div ng-show="status">
        <h2>关闭原因</h2>
        <textarea name="" id="" cols="30" rows="10">网站维护中</textarea>
    </div>
    <script>
        var m = angular.module('app', []);
        m.controller('ctrl', ['$scope', function($scope) {
            $scope.status = 1;
        }])
    </script>
</body>

</html>
